package com.his.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 就诊(门诊)信息表（一个病人一个病历号，多次就诊，多次就诊信息），也可以看作医院的挂号表\n挂了号相当于开了一
 * </p>
 *
 * @author Demoon Liu
 * @since 2022-02-20
 */
public class Registration implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long patientid;

    private LocalDateTime createtime;

    private Integer endattendance;

    private Integer status;

    private Long skdid;

    private Long deptid;

    private LocalDateTime attendancedate;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getPatientid() {
        return patientid;
    }

    public void setPatientid(Long patientid) {
        this.patientid = patientid;
    }
    public LocalDateTime getCreatetime() {
        return createtime;
    }

    public void setCreatetime(LocalDateTime createtime) {
        this.createtime = createtime;
    }
    public Integer getEndattendance() {
        return endattendance;
    }

    public void setEndattendance(Integer endattendance) {
        this.endattendance = endattendance;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Long getSkdid() {
        return skdid;
    }

    public void setSkdid(Long skdid) {
        this.skdid = skdid;
    }
    public Long getDeptid() {
        return deptid;
    }

    public void setDeptid(Long deptid) {
        this.deptid = deptid;
    }
    public LocalDateTime getAttendancedate() {
        return attendancedate;
    }

    public void setAttendancedate(LocalDateTime attendancedate) {
        this.attendancedate = attendancedate;
    }

    @Override
    public String toString() {
        return "Registration{" +
            "id=" + id +
            ", patientid=" + patientid +
            ", createtime=" + createtime +
            ", endattendance=" + endattendance +
            ", status=" + status +
            ", skdid=" + skdid +
            ", deptid=" + deptid +
            ", attendancedate=" + attendancedate +
        "}";
    }
}
